package com.shuan.springboothello.mapper;

import com.shuan.springboothello.model.CountryDto;
import com.shuan.springboothello.model.CountryDtoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CountryDtoMapper {
    long countByExample(CountryDtoExample example);

    int deleteByExample(CountryDtoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CountryDto record);

    int insertSelective(CountryDto record);

    List<CountryDto> selectByExample(CountryDtoExample example);

    CountryDto selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CountryDto record, @Param("example") CountryDtoExample example);

    int updateByExample(@Param("record") CountryDto record, @Param("example") CountryDtoExample example);

    int updateByPrimaryKeySelective(CountryDto record);

    int updateByPrimaryKey(CountryDto record);
}